(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
$(function() {
  var _teamTemp;
  $("#icon1").mouseover(function(e) {
    $(e.target).children(".icon").children("img").attr("src", "/templets/lossWeight/images/list1_hover.jpg");
    return $(e.target).css("color", "#347bcb");
  });
  $("#icon1").mouseout(function(e) {
    $(e.target).children(".icon").children("img").attr("src", "/templets/lossWeight/images/list1.jpg");
    return $(e.target).css("color", "black");
  });
  $("#icon2").mouseover(function(e) {
    $(e.target).children(".icon").children("img").attr("src", "/templets/lossWeight/images/list2_hover.jpg");
    return $(e.target).css("color", "#347bcb");
  });
  $("#icon2").mouseout(function(e) {
    $(e.target).children(".icon").children("img").attr("src", "/templets/lossWeight/images/list2.jpg");
    return $(e.target).css("color", "black");
  });
  $("#icon3").mouseover(function(e) {
    $(e.target).children(".icon").children("img").attr("src", "/templets/lossWeight/images/list3_hover.jpg");
    return $(e.target).css("color", "#347bcb");
  });
  $("#icon3").mouseout(function(e) {
    $(e.target).children(".icon").children("img").attr("src", "/templets/lossWeight/images/list3.jpg");
    return $(e.target).css("color", "black");
  });
  $("#icon4").mouseover(function(e) {
    $(e.target).children(".icon").children("img").attr("src", "/templets/lossWeight/images/list4_hover.jpg");
    return $(e.target).css("color", "#347bcb");
  });
  $("#icon4").mouseout(function(e) {
    $(e.target).children(".icon").children("img").attr("src", "/templets/lossWeight/images/list4.jpg");
    return $(e.target).css("color", "black");
  });
  $("#icon5").mouseover(function(e) {
    $(e.target).children(".icon").children("img").attr("src", "/templets/lossWeight/images/list5_hover.jpg");
    return $(e.target).css("color", "#347bcb");
  });
  $("#icon5").mouseout(function(e) {
    $(e.target).children(".icon").children("img").attr("src", "/templets/lossWeight/images/list5.jpg");
    return $(e.target).css("color", "black");
  });
  _teamTemp = 1;
  $("#prev_s").click(function(e) {
    $("#team_img" + _teamTemp).hide();
    _teamTemp--;
    if (_teamTemp < 1) {
      _teamTemp = 2;
    }
    return $("#team_img" + _teamTemp).fadeIn(500);
  });
  $("#next_s").click(function(e) {
    $("#team_img" + _teamTemp).hide();
    _teamTemp++;
    if (_teamTemp > 2) {
      _teamTemp = 1;
    }
    return $("#team_img" + _teamTemp).fadeIn(500);
  });

_teambgTemp = 1;
  $("#r_prev").click(function(e) {
    $("#team_img_bg" + _teambgTemp).hide();
    _teambgTemp--;
    if (_teambgTemp < 1) {
      _teambgTemp = 3;
    }
    return $("#team_img_bg" + _teambgTemp).fadeIn(500);
  });
  $("#r_next").click(function(e) {
    $("#team_img_bg" + _teambgTemp).hide();
    _teambgTemp++;
    if (_teambgTemp > 3) {
      _teambgTemp = 1;
    }
    return $("#team_img_bg" + _teambgTemp).fadeIn(500);
  });

  $("#div_box1").click(function(e) {
    $("#div_box2").removeClass("on");
    $("#div_box3").removeClass("on");
    $(e.target).addClass("on");
    $("#test2").hide();
    $("#test3").hide();
    return $("#test" + $(e.target).children("input").val()).fadeIn(500);
  });
  $("#div_box2").click(function(e) {
    $("#div_box1").removeClass("on");
    $("#div_box3").removeClass("on");
    $(e.target).addClass("on");
    $("#test1").hide();
    $("#test3").hide();
    return $("#test" + $(e.target).children("input").val()).fadeIn(500);
  });
  $("#div_box3").click(function(e) {
    $("#div_box1").removeClass("on");
    $("#div_box2").removeClass("on");
    $(e.target).addClass("on");
    $("#test1").hide();
    $("#test2").hide();
    return $("#test" + $(e.target).children("input").val()).fadeIn(500);
  });
  $("#test2").hide();
  return $("#test3").hide();
  $("#search_btn").click(function(e) {
    $("#search_form").submit();
  });
});

},{}]},{},[1]);
